From 7018202062e385bfb09e8d13de9c45ff98d4c51e Mon Sep 17 00:00:00 2001 From: bbhtt Date: Sat, 16 May 2026 12:31:33 +0530 Subject: [PATCH] deploy: Fix enum type mismatch in copy flags Fixes: https://github.com/ostreedev/ostree/issues/3591 --- src/libostree/ostree-sysroot-deploy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c index 77b601ff..94de4239 100644 --- a/src/libostree/ostree-sysroot-deploy.c +++ b/src/libostree/ostree-sysroot-deploy.c @@ -399,8 +399,9 @@ again: if (!glnx_opendirat (new_etc_fd, path, TRUE, &target_dfd, error)) return FALSE; - if (!dirfd_copy_attributes_and_xattrs (modified_etc_fd, path, src_dfd, target_dfd, flags, - cancellable, error)) + if (!dirfd_copy_attributes_and_xattrs (modified_etc_fd, path, src_dfd, target_dfd, + sysroot_flags_to_copy_flags (0, flags), cancellable, + error)) return FALSE; if (out_dfd) -- 2.39.5